package org.edu.modules.kaoqin.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.edu.modules.kaoqin.entity.VeHrPerformance;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Getter
@Setter
public class VeHrPerformanceDTO extends VeHrPerformance {

    /**
     * 姓名
     */
    @Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    private String xm;

    /**
     * 部门名称
     */
    @Excel(name = "部门名称", width = 15)
    @ApiModelProperty(value = "部门名称")
    private String departName;
    /**
     * 部门id
     */
    @Excel(name = "部门id", width = 15)
    @ApiModelProperty(value = "部门id")
    private Integer departId;

    /**
     * createTime
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "考勤开始时间")
    private Date startTime;

    /**
     * createTime
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "考勤结束时间")
    private Date endTime;

    @ApiModelProperty(value = "总计")
    private BigDecimal total;


    @Excel(name = "值班总计", width = 15)
    @ApiModelProperty(value = "值班总计")
    private BigDecimal zbTotal;

    @Excel(name = "上午总计", width = 15)
    @ApiModelProperty(value = "上午总计")
    private BigDecimal swTotal;

    @Excel(name = "下午总计", width = 15)
    @ApiModelProperty(value = "下午总计")
    private BigDecimal xwTotal;

    @Excel(name = "晚上总计", width = 15)
    @ApiModelProperty(value = "晚上总计")
    private BigDecimal wsTotal;

}
